package com.zc.custom.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方充电订单信息对象 charge_other_order_info
 * 
 * @author ruoyi
 * @date 2024-05-30
 */
public class ChargeOtherOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 第三方充电订单号 */
    @Excel(name = "第三方充电订单号")
    private String otherOrderCode;

    /** 第三方平台名称 */
    @Excel(name = "第三方平台名称")
    private String otherName;

    /** 场站编号 */
    @Excel(name = "场站编号")
    private String chargeStationCode;

    /** 场站名称 */
    @Excel(name = "场站名称")
    private String chargeStationName;

    /** 充电桩编号 */
    @Excel(name = "充电桩编号")
    private String deviceCode;

    /** 充电桩名称 */
    @Excel(name = "充电桩名称")
    private String deviceName;

    /** 充电枪编号 */
    @Excel(name = "充电枪编号")
    private String portId;

    /** 充电枪名称 */
    @Excel(name = "充电枪名称")
    private String portName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 累计用电量 */
    @Excel(name = "累计用电量")
    private BigDecimal totalPower;

    /** 总电费（单位：元） */
    @Excel(name = "总电费", readConverterExp = "单=位：元")
    private BigDecimal totalElecMoney;

    /** 总服务费（单位：元） */
    @Excel(name = "总服务费", readConverterExp = "单=位：元")
    private BigDecimal totalSeviceMoney;

    /** 已充金额（单位：元） */
    @Excel(name = "已充金额", readConverterExp = "单=位：元")
    private BigDecimal chargeMoney;

    /** 结束原因(字典);1-正常;2-小程序界面停止; */
    @Excel(name = "结束原因(字典);1-正常;2-小程序界面停止;")
    private String stopReason;

    /** 充电时长（分） */
    @Excel(name = "充电时长", readConverterExp = "分=")
    private Long totalTime;

    /** EV车开始SOC */
    @Excel(name = "EV车开始SOC")
    private String startSoc;

    /** EV车结束SOC */
    @Excel(name = "EV车结束SOC")
    private String endSoc;

    /** 设备交易流水号 */
    @Excel(name = "设备交易流水号")
    private String transactionNum;

    private String orderStatus;

    private String priceTypeCode;

    private String priceTypeName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOtherOrderCode(String otherOrderCode) 
    {
        this.otherOrderCode = otherOrderCode;
    }

    public String getOtherOrderCode() 
    {
        return otherOrderCode;
    }
    public void setOtherName(String otherName) 
    {
        this.otherName = otherName;
    }

    public String getOtherName() 
    {
        return otherName;
    }
    public void setChargeStationCode(String chargeStationCode) 
    {
        this.chargeStationCode = chargeStationCode;
    }

    public String getChargeStationCode() 
    {
        return chargeStationCode;
    }
    public void setChargeStationName(String chargeStationName) 
    {
        this.chargeStationName = chargeStationName;
    }

    public String getChargeStationName() 
    {
        return chargeStationName;
    }
    public void setDeviceCode(String deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public String getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setPortId(String portId) 
    {
        this.portId = portId;
    }

    public String getPortId() 
    {
        return portId;
    }
    public void setPortName(String portName) 
    {
        this.portName = portName;
    }

    public String getPortName() 
    {
        return portName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTotalPower(BigDecimal totalPower) 
    {
        this.totalPower = totalPower;
    }

    public BigDecimal getTotalPower() 
    {
        return totalPower;
    }
    public void setTotalElecMoney(BigDecimal totalElecMoney) 
    {
        this.totalElecMoney = totalElecMoney;
    }

    public BigDecimal getTotalElecMoney() 
    {
        return totalElecMoney;
    }
    public void setTotalSeviceMoney(BigDecimal totalSeviceMoney) 
    {
        this.totalSeviceMoney = totalSeviceMoney;
    }

    public BigDecimal getTotalSeviceMoney() 
    {
        return totalSeviceMoney;
    }
    public void setChargeMoney(BigDecimal chargeMoney) 
    {
        this.chargeMoney = chargeMoney;
    }

    public BigDecimal getChargeMoney() 
    {
        return chargeMoney;
    }
    public void setStopReason(String stopReason) 
    {
        this.stopReason = stopReason;
    }

    public String getStopReason() 
    {
        return stopReason;
    }
    public void setTotalTime(Long totalTime) 
    {
        this.totalTime = totalTime;
    }

    public Long getTotalTime() 
    {
        return totalTime;
    }
    public void setStartSoc(String startSoc) 
    {
        this.startSoc = startSoc;
    }

    public String getStartSoc() 
    {
        return startSoc;
    }
    public void setEndSoc(String endSoc) 
    {
        this.endSoc = endSoc;
    }

    public String getEndSoc() 
    {
        return endSoc;
    }
    public void setTransactionNum(String transactionNum) 
    {
        this.transactionNum = transactionNum;
    }

    public String getTransactionNum() 
    {
        return transactionNum;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPriceTypeCode() {
        return priceTypeCode;
    }

    public void setPriceTypeCode(String priceTypeCode) {
        this.priceTypeCode = priceTypeCode;
    }

    public String getPriceTypeName() {
        return priceTypeName;
    }

    public void setPriceTypeName(String priceTypeName) {
        this.priceTypeName = priceTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("otherOrderCode", getOtherOrderCode())
            .append("otherName", getOtherName())
            .append("createTime", getCreateTime())
            .append("chargeStationCode", getChargeStationCode())
            .append("chargeStationName", getChargeStationName())
            .append("deviceCode", getDeviceCode())
            .append("deviceName", getDeviceName())
            .append("portId", getPortId())
            .append("portName", getPortName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("totalPower", getTotalPower())
            .append("totalElecMoney", getTotalElecMoney())
            .append("totalSeviceMoney", getTotalSeviceMoney())
            .append("chargeMoney", getChargeMoney())
            .append("stopReason", getStopReason())
            .append("totalTime", getTotalTime())
            .append("startSoc", getStartSoc())
            .append("endSoc", getEndSoc())
            .append("transactionNum", getTransactionNum())
            .toString();
    }
}
